updating oE local datetime

datetime

include locale.e 
namespace locale 
public function datetime(sequence fmt, datetime :datetime dtm) 

formats a date according to current locale.

Parameters:
  1. fmt : A format string, as described in datetime:format
  2. dtm : the datetime to write out.
Returns:

A sequence, representing the formatted date.

Example 1:
include std/datetime.e 
 
datetime("Today is a %A", datetime:now()) 
See Also:

datetime:format

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu